| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

HdrEncoder.h
1 // HdrEncoder.h
3 //
5
6 namespace nkImages
7 {
11 class HdrEncoder final
12 {
13 public :
14
15 // Compression
24 static nkMemory::Buffer encode (const ImageView& image) ;
25
26 // Decompression
34 static bool canDecode (nkMemory::BufferView<unsigned char> data) ;
52 static Image decode (nkMemory::BufferView<unsigned char> data, const AlignmentDescriptor& alignmentDescriptor = AlignmentDescriptor()) ;
53 } ;
54 }
nkMemory::BufferView< unsigned char >
nkImages::ImageView
Holds all information required for an image, with no ownership over the data.
Definition: ImageView.h:14
nkImages::HdrEncoder::decode
static Image decode(nkMemory::BufferView< unsigned char > data, const AlignmentDescriptor &alignmentDescriptor=AlignmentDescriptor())
nkImages::HdrEncoder::canDecode
static bool canDecode(nkMemory::BufferView< unsigned char > data)
nkImages::HdrEncoder
Offers capabilities to encode and decode HDR format.
Definition: HdrEncoder.h:12
nkMemory::Buffer
A buffer holding binary data.
Definition: Buffer.h:32
nkImages::AlignmentDescriptor
Holds information about alignment constraints.
Definition: AlignmentDescriptor.h:12
nkImages
Encompasses all API of component NilkinsImages.
Definition: BmpEncoder.h:7
nkImages::HdrEncoder::encode
static nkMemory::Buffer encode(const ImageView &image)
nkImages::Image
Holds all information required for an image, with ownership over the data.
Definition: Image.h:14